require_relative 'packer_2d'

def test
  wrap = Packer2D::Wrapper.new 500, 500
  cargos = [
    Packer2D::Cargo.new(400, 400),
    Packer2D::Cargo.new(500, 50),
    Packer2D::Cargo.new(50, 400)
  ]
  rtn = wrap.fit cargos
  puts "result: #{rtn}"
end

test
